package com.Dao.impl;

import com.Dao.UserDao;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public boolean login(String username, String password) {
        if (username.equals("张三") && password.equals("123")) {
            return true;
        }
        return false;
    }
}
